Graphics exporters may implement some or none of these functions. To determine whether a particular setting is available, use CallComponentCanDo .
Requests that the original compressed data not be decompressed and recompressed, but be copied (possibly with modifications) through to the output file.
pascal ComponentResult GraphicsExportSetDontRecompress (
GraphicsExportComponent ci,
Boolean dontRecompress);
pascal ComponentResult GraphicsExportGetDontRecompress (
GraphicsExportComponent ci,
Boolean *dontRecompress);
pascal ComponentResult GraphicsExportSetInterlaceStyle (
GraphicsExportComponent ci,
unsigned long interlaceStyle);
interlaceStyle
pascal ComponentResult GraphicsExportGetInterlaceStyle (
GraphicsExportComponent ci,
unsigned long *interlaceStyle);
Defines supplemental data, such as textual copyright information.
In QuickTime 4, none of the supplied graphics exporters support setting MetaData .
pascal ComponentResult GraphicsExportSetMetaData (
GraphicsExportComponent ci,
void *userData);
Returns the current MetaData setting.
In QuickTime 4, none of the supplied graphics exporters support setting MetaData .
pascal ComponentResult GraphicsExportGetMetaData (
GraphicsExportComponent ci,
void *userData);
Defines a desired maximum data size and asks for a quality that does not exceed that size.
pascal ComponentResult GraphicsExportSetTargetDataSize (
GraphicsExportComponent ci,
unsigned long targetDataSize);
Returns the current desired maximum data size.
pascal ComponentResult GraphicsExportGetTargetDataSize (
GraphicsExportComponent ci,
unsigned long *targetDataSize);
Defines the compression method to use.
pascal ComponentResult GraphicsExportSetCompressionMethod (
GraphicsExportComponent ci,
long compressionMethod);
Returns the compression method.
pascal ComponentResult GraphicsExportGetCompressionMethod ( GraphicsExportComponent ci,
long *compressionMethod);
Defines the compression quality. This setting is only supported by lossy compression methods.
GraphicsExportSetCompressionQuality (
GraphicsExportComponent ci,
CodecQ spatialQuality);
Returns the compression quality value.
pascal ComponentResult GraphicsExportGetCompressionQuality ( GraphicsExportComponent ci,
CodecQ *spatialQuality);
Defines the resolution to store in the image file.
pascal ComponentResult GraphicsExportSetResolution (GraphicsExportComponent ci,
Fixed horizontalResolution,
Fixed verticalResolution);
pascal ComponentResult GraphicsExportGetResolution (GraphicsExportComponent ci,
Fixed *horizontalResolution,
Fixed *verticalResolution);
Defines the depth to use. Some image file formats support more than one pixel depth.
In QuickTime 4, the BMP, JPEG, Photoshop, PNG, PICT, QuickTime Image, Targa and TIFF graphics exporters support the depth setting.
pascal ComponentResult GraphicsExportSetDepth (
GraphicsExportComponent ci,
long depth);
Returns the current depth setting.
pascal ComponentResult GraphicsExportGetDepth (
GraphicsExportComponent ci,
long *depth);
Sets the ColorSync profile to embed in the image file.
pascal ComponentResult GraphicsExportSetColorSyncProfile ( GraphicsExportComponent ci,
Handle colorSyncProfile);
Gets the current value of this setting.
pascal ComponentResult GraphicsExportGetColorSyncProfile ( GraphicsExportComponent ci,
Handle *colorSyncProfile);
The caller is responsible for disposing of the returned handle.
| Previous | Chapter Contents | Chapter Top | Next |